import request from '@/utils/request.js'

// 文件上传服务
export const uploadFileService = (formData) => {
    return request.post('/upload', formData, {
        headers: {
            'Content-Type': 'multipart/form-data'  // 设置请求头为文件上传类型
        }
    })
} 